package com.maimao.model.dynamicform;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;

/**
 * 下拉框 复选框等需要的选项
 *
 * @author MaoLin Wang
 * @date 2020/12/19 9:48 下午
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Options implements Serializable {

    private String value;
    private String label;
    private boolean disabled;

    public Options() {
    }

    public Options(String value, String label, boolean disabled) {
        this.value = value;
        this.label = label;
        this.disabled = disabled;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }
}
